package com.dai.designpattern.factory.abstractf;

/**
 * @author daijiyong
 */
public class RedMiFactory extends MiFactory {
    @Override
    IComputer createComputer() {
        super.init();
        System.out.println("生产一台红米电脑");
        return new RedMiComputer();
    }

    @Override
    iPhone createPhone() {
        super.init();
        System.out.println("生产一台红米手机");
        return new RedMiPhone();
    }
}
